package com.manager.core.module.manager.entity;

import com.manager.commons.base.AuditEntity;

import java.util.List;

/**
 * PlatformPermission（权限）
 * @author H
 * @version 1.0
 */
public class PlatformPermission extends AuditEntity {

	private static final long serialVersionUID = -6615297855665863890L;
	/**
	 * 编码
	 */
	private String ppCode;
	/**
	 * 父级
	 */
	private String ppParent;
	/**
	 * 名称
	 */
	private String ppName;
	/**
	 * 类型TOP：顶级;MENU：菜单;VIEWS：链接;BUTTON：按钮
	 */
	private String ppType;
	/**
	 * 权限码
	 */
	private String ppAuth;
	/**
	 * 图标
	 */
	private String ppIcon;
	/**
	 * 小程序图标
	 */
	private String ppMnpIcon;
	/**
	 * 访问地址
	 */
	private String ppPath;
	/**
	 * 小程序路径
	 */
	private String ppMnpPath;
	/**
	 * 排序
	 */
	private Integer ppSort;
	/**
	 * 备注
	 */
	private String ppRemark;
	/**
	 * 1：显示；-1：不显示
	 */
	private Short ppDisplay;
	private List<PlatformPermission> Children;

	private String name;

	public PlatformPermission() {}

	public String getPpCode() {
		return ppCode;
	}

	public void setPpCode(String ppCode) {
		this.ppCode = ppCode;
	}

	public String getPpParent() {
		return ppParent;
	}

	public void setPpParent(String ppParent) {
		this.ppParent = ppParent;
	}

	public String getPpName() {
		return ppName;
	}

	public void setPpName(String ppName) {
		this.ppName = ppName;
	}

	public String getPpType() {
		return ppType;
	}

	public void setPpType(String ppType) {
		this.ppType = ppType;
	}

	public String getPpAuth() {
		return ppAuth;
	}

	public void setPpAuth(String ppAuth) {
		this.ppAuth = ppAuth;
	}

	public String getPpIcon() {
		return ppIcon;
	}

	public void setPpIcon(String ppIcon) {
		this.ppIcon = ppIcon;
	}

	public String getPpMnpIcon() {
		return ppMnpIcon;
	}

	public void setPpMnpIcon(String ppMnpIcon) {
		this.ppMnpIcon = ppMnpIcon;
	}

	public String getPpPath() {
		return ppPath;
	}

	public void setPpPath(String ppPath) {
		this.ppPath = ppPath;
	}

	public String getPpMnpPath() {
		return ppMnpPath;
	}

	public void setPpMnpPath(String ppMnpPath) {
		this.ppMnpPath = ppMnpPath;
	}

	public Integer getPpSort() {
		return ppSort;
	}

	public void setPpSort(Integer ppSort) {
		this.ppSort = ppSort;
	}

	public String getPpRemark() {
		return ppRemark;
	}

	public void setPpRemark(String ppRemark) {
		this.ppRemark = ppRemark;
	}

	public Short getPpDisplay() {
		return ppDisplay;
	}

	public void setPpDisplay(Short ppDisplay) {
		this.ppDisplay = ppDisplay;
	}

	public List<PlatformPermission> getChildren() {
		return Children;
	}

	public void setChildren(List<PlatformPermission> children) {
		Children = children;
	}

	public String getName() {
		return ppName;
	}

	public void setName(String name) {
		this.name = name;
	}
}